<template>
	<div class="form_detail">
		<el-row class = "el-row">
			  <el-col :span='item.label === "简要案情" ? 18 : 6' v-for = '(item ,index) in formData' :key = "index">
			  	<div class="grid-content bg-purple">
						{{item.label}} : {{item.value}}
					</div>
			  </el-col>
		</el-row>
	</div>
</template>

<script>
	export default {
		props:{
			formData :Array,
		},
		data(){
			return{
			}
		}
	}
</script>

<style scoped>
.el-row {
    margin-bottom: 20px;
    padding: 15px;
    margin-bottom: 20px;
  }
  .el-col {
    border-radius: 4px;
  }
  .grid-content {
    border-radius: 4px;
    min-height: 36px;
  }
  .row-bg {
    padding: 10px 0;
    background-color: #f9fafc;
  }
  .form_detail{
  	margin: 0 auto 20px auto;
  }
</style>
